package com.kafka.common;

public class Constant {
	/*支付接口标识 PAY=跨地区 SYNC=中心与平台同步*/
	public final static Integer PAY = 1;
	public final static Integer SYNC = 2;
	
	/*支付结果 0：成功 1：余额不足 2：拒绝 99：异常*/
	public final static Integer PAY_RESULT_CODE_SUCCESS = 0;
	public final static Integer PAY_RESULT_CODE_INSUFFICENT = 1;
	public final static Integer PAY_RESULT_CODE_DENY = 2;
	public final static Integer PAY_RESULT_CODE_ERROR = 99;
	
	/*iccard状态值 0：绑定 1：注销 2：挂失 3：黑名单*/
	public final static Integer ACCOUNTACTIVATE = 1;
	public final static Integer ACCOUNTUNBIND = -1;
	public final static Integer ACCOUNTLOST = 0;
	public final static Integer ACCOUNTBLACKLIST = 3;
	
	/*腕表状态 0：绑定 1:解绑*/
	public final static Integer DEVICEACTIVATE = 0;
	public final static Integer DEVICEUNBIND = 1;

	/*支付密码校验常量值 1：校验 0：不校验*/
	public final static Integer MUSTCHECK = 1;
	public final static Integer NOTCHECK = 0;
	
	/*用户状态值 0：绑定 1：注销  3：黑名单*/
	public final static Integer USERACTIVATE = 1;
	public final static Integer USERCLOSE = -1;
	public final static Integer USERBLACKLIST = 3;
	
	/*自定义常量*/
	public final static Integer SUCCESS = 1;
	public final static Integer FAIL = 0;
	
	/*平台响应吗定义*/
	public final static Integer REQUEST_SUCCESS = 200;
	public final static Integer REQUEST_FAIL = 400;
	
	/*商品类型码 用于区别判断商品是否是充值产品*/
	public final static String GOODSNAME = "充值";
	public final static String GOODSTYPE = "9999";
	
	/*销户*/
	public final static String CLOSE_ACCOUNT_GOODSNAME = "销户";
	public final static String CLOSE_ACCOUNT_GOODSTYPE = "8888";
	
	/*校验标识*/
	public final static Integer SERVICE = 0;
	public final static Integer VALID = 1;
}
